package create_config

type ListRequest struct {
	Page            int       `form:"page" binding:"required" validate:"required"`
	Limit           int       `form:"limit" binding:"required" validate:"required"`
	Title           *string   `form:"title"`
	BasisCreateType *string   `form:"basis_create_type"`
	CreatedAt       *[]string `form:"created_at"`
}

type ListResponse struct {
	List  []NewsCreateConfig `json:"list"`
	Total int64              `json:"total"`
	Page  int                `json:"page"`
	Limit int                `json:"limit"`
}

type NewsCreateConfig struct {
	Id              int    `json:"id"`
	Title           string `json:"title"`
	CreatedAt       string `json:"created_at"`
	BasisCreateType string `json:"basis_create_type"`
}
